home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / othergnu / indent~1.zoo / sys.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-06  |  786 b   |  38 lines

  1. /* Copyright (C) 1992 Free Software Foundation, Inc.
  2.  
  3.    This program is free software; you can redistribute it and/or modify
  4.    it without restriction.
  5.  
  6.    This program is distributed in the hope that it will be useful,
  7.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  8.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  */
  9.  
  10. #include <stdio.h>
  11.  
  12. #ifdef DEBUG
  13. extern int debug;
  14. #endif
  15.  
  16. #ifdef __STDC__
  17. #define INLINE inline
  18. #else
  19. #define INLINE
  20. #endif
  21.  
  22. struct file_buffer
  23. {
  24.   char *name;
  25.   int size;
  26.   char *data;
  27. };
  28.  
  29. extern struct file_buffer *read_file (), *read_stdin ();
  30.  
  31. /* Standard memory allocation routines.  */
  32. char *malloc ();
  33. char *realloc ();
  34.  
  35. /* Similar, but abort with an error if out of memory (see globs.c).  */
  36. char *xmalloc ();
  37. char *xrealloc ();
  38.